package cola0502.project.hellospringbootcola0502.mapper;

import cola0502.project.hellospringbootcola0502.entity.Cola;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface ColaMapper {

    @Select("SELECT * FROM sys_cola WHERE name = #{name}")
    Cola findColaByName(String name);
}
